AliAnalysisTask *AddTask_xlu_AODpkRaa()
{
  char *tkn0 = "AODpkRaa";

  //---  
  AliAnalysisManager *mgr = AliAnalysisManager::GetAnalysisManager();
  if (!mgr) {
    Error(From("AddTask_xlu_%s",tkn0), "No analysis manager found.");
    return 0;
  }

  //---  
  AliAnalysisTaskAODpkRaa *mytask = new AliAnalysisTaskAODpkRaa;

  //NOT for AOD!!!
  //mytask->SelectCollisionCandidates(AliVEvent::kMB);
  
  mgr->AddTask(mytask);

  //---  
  AliAnalysisDataContainer *cinput  = mgr->GetCommonInputContainer();
  mgr->ConnectInput(mytask,  0, cinput );
  
  const TString foutname=Form("xlu_%s",tkn0);

  AliAnalysisDataContainer *outlist1 = mgr->CreateContainer("xlu_tree",            TTree::Class(), AliAnalysisManager::kOutputContainer,foutname+"_tree.root");
  AliAnalysisDataContainer *outlist2 = mgr->CreateContainer("xlu_list",            TList::Class(), AliAnalysisManager::kOutputContainer,foutname+"_hist.root");

  //in AnalysisTaskSE, slot 0 reserved, must start from 1
  mytask->ConnectOutput(1, outlist1);
  mytask->ConnectOutput(2, outlist2);
  return mytask;
}
